//
//  Person.m
//  Study1
//
//  Created by ChenJie on 2/7/20.
//  Copyright © 2020 OrgName. All rights reserved.
//

#import "Person.h"

@interface Person ()

@property (nonatomic, strong, readwrite) NSString *name;
@property (nonatomic, assign) NSInteger age;
//@property (nonatomic, strong) NSString *greeting;

@end

@implementation Person

#pragma mark - Lifecycle methods

- (instancetype)init {
    self = [super init];
    if (self) {
    }
    return self;
}

- (instancetype)initWithName:(NSString *)name
                         age:(NSInteger)age
                    greeting:(NSString *)greeting {
    self = [super init];
    if (self) {
        self.name = name;
        self.age = age;
        self.greeting = greeting;
    }
    return self;
}

#pragma mark - Public methods



#pragma mark - Private methods



#pragma mark - Delegate methods



#pragma mark - Setter



#pragma mark - Getter



#pragma mark - Memory management methods

- (void)dealloc {
}

@end
